import Vue from 'vue'
import Vuex from 'vuex'
// 一、导入模块
import user from '@/store/modules/user'
import channels from '@/store/modules/channels'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    user,
    channels,
  },
})
